package cn.fz.luck.saas.service;

import cn.fz.luck.saas.model.SysUser;
import org.springframework.stereotype.Component;

/**
 * @author zhuangqi
 * @date 2017/7/6.
 */
@Component
public interface AuthService {

    public SysUser register(SysUser user);

    public String login(String userName, String passWord);

    public String refresh(String oldToken);
}
